#pragma once
#include <iostream>
#include "ShowLog.h"


class Entity
{
public:
	Entity();
	~Entity();

	float x, y;
	void Move(float xa, float ya) {
		x += xa;
		y += ya;
	}

private:

};

class Player :public Entity
{
public :
	const char* Name;
	void PrintName() { LOG(Name); }
};

int RunExample027()
{
	Player player;
	player.Move(3,1);
	player.PrintName();

	Entity e = player;

	return 0;
}

